﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ESN.Models;

namespace ESN.Controllers
{
    public class AppsController : Controller
    {
        private ESNCoreDbContext db = new ESNCoreDbContext();
        //
        // GET: /App/

        public ActionResult Index()
        {
            return View();
        }

        public string ShowApp(string name)
        {
            App asd = db.Apps.Find(1);
            return name + asd.AppName;
        }

    }
}
